package com.cleaningcloud.cld.domain;

import java.math.BigDecimal;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 考核模版对象 cld_check_template
 * 
 * @author cleaningcloud
 * @date 2024-10-12
 */
public class CldCheckTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考核模版ID */
    private Long templateId;

    /** 考核模版名称 */
    @Excel(name = "考核模版名称")
    private String templateName;

    /** 考核角色 */
    @Excel(name = "考核角色")
    private Long checkRole;

    /** 总权重% */
    @Excel(name = "总权重%")
    private BigDecimal sumWeight;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long createId;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 备注是否关闭 */
    @Excel(name = "备注是否关闭")
    private Long flag;

    /** 更新人ID */
    @Excel(name = "更新人ID")
    private Long updateId;

    /** 更新人名称 */
    @Excel(name = "更新人名称")
    private String updateName;

    public void setTemplateId(Long templateId) 
    {
        this.templateId = templateId;
    }

    public Long getTemplateId() 
    {
        return templateId;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setCheckRole(Long checkRole) 
    {
        this.checkRole = checkRole;
    }

    public Long getCheckRole() 
    {
        return checkRole;
    }
    public void setSumWeight(BigDecimal sumWeight) 
    {
        this.sumWeight = sumWeight;
    }

    public BigDecimal getSumWeight() 
    {
        return sumWeight;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setFlag(Long flag) 
    {
        this.flag = flag;
    }

    public Long getFlag() 
    {
        return flag;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("templateId", getTemplateId())
            .append("templateName", getTemplateName())
            .append("checkRole", getCheckRole())
            .append("sumWeight", getSumWeight())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("flag", getFlag())
            .append("updateId", getUpdateId())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
